#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>

int is_prime(int n)
{
	int i = 0;
	int count = 0;
	for (i = 1; i <= sqrt(n); i++)
	{
		if (n % i == 0)
			count++;
	}
	if (count == 1 && n != 1)
		return 1;
	return 0;
}

int main()
{
	int i = 0;
	for (i = 100; i <= 200; i++)
	{
		if (is_prime(i) == 1)
			printf("%d ", i);
	}
	return 0;
}